home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / zftpd047.zip / zftpd.cfg < prev    next >
Text File  |  1997-06-06  |  6KB  |  103 lines

  1. ###############################################################################
  2. #                                                                             #
  3. # This is a sample configuration file for zftpd.                              #
  4. #                                                                             #
  5. # Command line parameters may override any of the parameters specified in     #
  6. # this file                                                                   #
  7. #                                                                             #
  8. ###############################################################################
  9.  
  10. ###############################
  11. # MAIN zftpd CONFIG GOES HERE #
  12. ###############################
  13.  
  14. [zftpd]
  15.  
  16. # Default location of database files
  17. users_file: zftpd.usr
  18. groups_file: zftpd.grp
  19. shares_file: zftpd.sha
  20. members_file: zftpd.mem
  21.  
  22. # Default ftp port
  23. ftp_port: 21
  24.  
  25. # Max concurrent users
  26. max_users: 16
  27.  
  28. # Usage logging (not implemented yet)
  29. usagelog_level: 0
  30. usagelog_file: zftpduse.log
  31. cmdlog_level: 0
  32. cmdlog_file: zftpdcmd.log
  33.  
  34. ###############################################################################
  35. # ACCESS RULES GOES HERE                                                      #
  36. #                                                                             #
  37. # All access rule lines are split in two with a |-character the first part is #
  38. # the condition which has to be satisfied for the action (the second part) to #
  39. # be carried out.                                                             #
  40. #                                                                             #
  41. # Multiple conditions or actions should be separated with a ;-character       #
  42. # Also multiple masks in the conditions are processes as the comma between is #
  43. # and OR                                                                      #
  44. #                                                                             #
  45. # CONDITIONS                                                                  #
  46. #                                                                             #
  47. # super (N/I)                                                                 #
  48. #                                                                             #
  49. # anon=[passwordmask]{,[passwordmask]}                                        #
  50. #                                                                             #
  51. # usr=[usermask]{,[usermask]}                                                 #
  52. #   Same as group.                                                            #
  53. #                                                                             #
  54. # grp=[groupmask]{,[groupmask]} (N/I)                                         #
  55. #   This should consist of one or more groups which are affected by this rule.#
  56. #                                                                             #
  57. # time=[timemask]{,[timemask]} (N/I)                                          #
  58. #   Specify the time range this rule is active in the format:                 #
  59. #   {[day]!}{[hour]{:[minute]}}-{[day]!}{[hour]{:[minute]}}                   #
  60. #                                                                             #
  61. #   [day]    = 0 to 6 for Sun - Sat                                           #
  62. #   [hour]   = 0 to 23                                                        #
  63. #   [minute] = 0 to 59                                                        #
  64. #                                                                             #
  65. #   This timemask only affect login time, when the user is logged in he is not#
  66. #   thrown out even if exceeding this limit.                                  #
  67. #                                                                             #
  68. # ip=[ipmask]{,[ipmask]}                                                      #
  69. #   Specify one or more IP masks separated by commas.                         #
  70. #                                                                             #
  71. # name=[namemask]{,[namemask]}                                                #
  72. #   Specify one or more hostnames separated by commas.                        #
  73. #                                                                             #
  74. # cnt=[<|>count] (N/I)                                                        #
  75. #   Number of active connections                                              #
  76. #                                                                             #
  77. # ACTIONS                                                                     #
  78. #                                                                             #
  79. # allow                                                                       #
  80. #                                                                             #
  81. # deny                                                                        #
  82. #                                                                             #
  83. # stop                                                                        #
  84. #                                                                             #
  85. # welcome=[path]                                                              #
  86. #   Welcome file displayed to user matching this rule. Only the welcome file  #
  87. #   for the last matching rule is displayed.                                  #
  88. #                                                                             #
  89. # prelogin=[path] (N/I)                                                       #
  90. #                                                                             #
  91. # skip=[lines] (N/I)                                                          #
  92. #                                                                             #
  93. # initdir=[directory] (N/I)                                                   #
  94. #                                                                             #
  95. # (N/I) mean that the condition or action are not implemented yet             #
  96. #                                                                             #
  97. ###############################################################################
  98.  
  99. [accessrules]
  100. usr=*|allow;welcome=.zftpd.welcome
  101. anon=*|deny;welcome=.zftpd.noaccess
  102. anon=*@*.*|allow;welcome=.zftpd.welcome
  103.